package com.yan.domain;

public class Book {
    private String name;
    private int salary;
    private static String id;

    public Book(String name, int salary , String id) {
        this.name = name;
        this.id = id;
        this.salary = salary;
    }

    public void show(){
        System.out.println(name + "----" + salary + "---------" + id);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSalary() {
        return salary;
    }

    public void setSalary(int salary) {
        this.salary = salary;
    }

    public static String getId() {
        return id;
    }

    public static void setId(String id) {
        Book.id = id;
    }

}
